<?php
    header('Content-type: text/plain');
    header('Access-Control-Allow-Origin: *');
    if ( isset ( $_REQUEST["file"] ) ) { echo ( file_get_contents ( $_REQUEST["file"] ) );};
	if ( isset ( $_FILES["file"] ) ) { echo (  file_get_contents ( $_FILES["file"]['tmp_name'] ) );};
?>